package com.it.bean;

import com.it.service.MyInterfaces;
import com.it.service.MyInterfaces2;

/**
 * @author ：zyx
 * @date ：Created in 2021-12-06-11:27
 * @description：
 * @modified By：
 * @version: $
 */
public class User extends Animal implements MyInterfaces, MyInterfaces2 {
private String name;
protected Integer age;
public String idNumber;

public String getName() {
		return name;
		}

public void setName(String name) {
		this.name = name;
		}

public Integer getAge() {
		return age;
		}

public void setAge(Integer age) {
		this.age = age;
		}

public String getIdNumber() {
		return idNumber;
		}

public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
		}
	
	private User(Integer id,String name ) {
		this.name = name;
		this.age = age;
		this.idNumber = idNumber;
	}
	 User(String name ) {
		this.name = name;
		this.age = age;
		this.idNumber = idNumber;
	}
public User(String name, Integer age, String idNumber) {
		this.name = name;
		this.age = age;
		this.idNumber = idNumber;
		}

public User() {
		}

public User(String name, Integer age) {
		this.name = name;
		this.age = age;
		}
	
	@Override
	public String toString() {
		return "User{" +
				"name='" + name + '\'' +
				", age=" + age +
				", idNumber='" + idNumber + '\'' +
				'}';
	}
	
	public static void ffun1(){}
	 public static void ffun2(){}
public void fun1(){
		System.out.println("-----public void fun1()---------");
		}
private void fun2(){
		System.out.println("-----private void fun2()--------");
		}
protected void fun3(){
		System.out.println("----protected void fun3()-----");
		}
		void fun4(){
		System.out.println("---- void fun4()-----");
		}
	
	@Override
	public void method1() {
	
	}
	
	@Override
	public void method2() {
	
	}
	
	public static class Body{}
	public static class Leg{}
	public static class Neek{}
	static class Head{}
	public   interface IF1{}
	interface IF2{}
}